import {
  http
} from '@/utils/http.js'


// 获取医生-百科文章列表
export const getDoctorListInfoApi = (data) => {

  return http.get("/patient/home/knowledge", {
    params: data
  })
}

// 获取关注的医生
export const getLikeDoctorInfoApi = (data) => {
  return http.get("/home/page/doc", {
    params: data
  })
}

// 关注医生
export const getLikeDoctorApi = (data) => {
  return http.post("/like", data, {
    header: {
      'Content-Type': "application/json"
    }
  })
}